Java.perform(function () {
    var PostApiService = Java.use("cn.soulapp.android.square.post.api.PostApiService");

    PostApiService.Y.implementation = function (map, simpleHttpCallback) {
        console.log("这是map:", map)
        console.log("这是simpleHttpCallback:", simpleHttpCallback)

        var res = this.Y(map, simpleHttpCallback)
        console.log("这是res:", res)
        return res;
    }
});

// frida -H 127.0.0.1:8877 -l  2_hook_comment_map.js -f cn.soulapp.android
// frida -U -f  cn.soulapp.android -l  2_hook_comment_map.js     这是spawn的方式启动